'use strict';

// OAuth
module.exports = app => {

  const { router, controller } = app;

  router.get('/oauth/qq/user-info', controller.oauth.index.qqInfo);
  router.get('/oauth/session-login', controller.oauth.index.sessionLogin);
  router.get('/oauth/logout', controller.oauth.index.logout);
};
